﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using SIM.Geo.BE;

namespace SIM.Geo.SE
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISEGeomecanica" in both code and config file together.
    [ServiceContract]
    public interface ISEGeomecanica
    {
        [OperationContract]
        List<Geomecanica> ListarGeomecanica();
        [OperationContract]
        List<Geomecanica> BuscarGeomecanicaPorSondaje(int codigoSondaje);
        [OperationContract]
        string InsertarGeomecanica(Geomecanica geomecanica);
        [OperationContract]
        string ModificarGeomecanica(Geomecanica geomecanica);
        [OperationContract]
        void EliminarGeomecanica(int codigoSondaje, int codigoGeomecanica);
        [OperationContract]
        Geomecanica ObtenerGeomecanica(int codigoSondaje, int codigoGeomecanica);
        [OperationContract]
        List<buscarGeomecanica_Result> BuscarGeomecanicaPorSondaje1(int codigoSondaje);
        [OperationContract]
        int ValidarInterseccionGeomecanica(int codigoSondaje, int codigoGeomecanica, double desde, double hasta);
        [OperationContract]
        double ObtenerUltimoHasta(int codigoSondaje);
    }
}
